package com.fenghen.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fenghen.common.annotation.Excel;
import com.fenghen.common.core.domain.BaseEntity;

/**
 * 风险监控与预警模块对象 risk_monitoring
 * 
 * @author fenghen
 * @date 2024-11-06
 */
public class RiskMonitoring extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long monitorId;

    /** 关联的风险ID */
    @Excel(name = "关联的风险ID")
    private Long riskId;

    /** 监控日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监控日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date monitorDate;

    /** 当前风险状态 */
    @Excel(name = "当前风险状态")
    private String status;

    /** 预警信息 */
    @Excel(name = "预警信息")
    private String alertMessage;

    /** 风险识别模块信息 */
    private List<RiskIdentification> riskIdentificationList;

    public void setMonitorId(Long monitorId) 
    {
        this.monitorId = monitorId;
    }

    public Long getMonitorId() 
    {
        return monitorId;
    }

    public void setRiskId(Long riskId) 
    {
        this.riskId = riskId;
    }

    public Long getRiskId() 
    {
        return riskId;
    }

    public void setMonitorDate(Date monitorDate) 
    {
        this.monitorDate = monitorDate;
    }

    public Date getMonitorDate() 
    {
        return monitorDate;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setAlertMessage(String alertMessage) 
    {
        this.alertMessage = alertMessage;
    }

    public String getAlertMessage() 
    {
        return alertMessage;
    }

    public List<RiskIdentification> getRiskIdentificationList()
    {
        return riskIdentificationList;
    }

    public void setRiskIdentificationList(List<RiskIdentification> riskIdentificationList)
    {
        this.riskIdentificationList = riskIdentificationList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("monitorId", getMonitorId())
            .append("riskId", getRiskId())
            .append("monitorDate", getMonitorDate())
            .append("status", getStatus())
            .append("alertMessage", getAlertMessage())
            .append("riskIdentificationList", getRiskIdentificationList())
            .toString();
    }
}
